(* Content-type: application/vnd.wolfram.mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 10.4' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       158,          7]
NotebookDataLength[     32519,       1189]
NotebookOptionsPosition[     22743,        877]
NotebookOutlinePosition[     29302,       1068]
CellTagsIndexPosition[     29175,       1061]
WindowTitle->TR
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[GridBox[{
   {Cell["FEYN CALC SYMBOL", "PacletNameCell"], Cell[TextData[{
     Cell[BoxData[
      ActionMenuBox[
       FrameBox[
        InterpretationBox[Cell[TextData[{
          "See Also",
          StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
           StripOnInput->False]
         }]],
         TextCell[
          Row[{"See Also", 
            Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
        StripOnInput->False], {"\<\"DiracSimplify\"\>":>
       Documentation`HelpLookup[
       "paclet:FeynCalc/ref/DiracSimplify"], "\<\"DiracTrace\"\>":>
       Documentation`HelpLookup[
       "paclet:FeynCalc/ref/DiracTrace"], "\<\"FermionSpinSum\"\>":>
       Documentation`HelpLookup[
       "paclet:FeynCalc/ref/FermionSpinSum"], "\<\"SUNTrace\"\>":>
       Documentation`HelpLookup["paclet:FeynCalc/ref/SUNTrace"]},
       Appearance->None,
       MenuAppearance->Automatic,
       MenuStyle->"SeeAlso"]],
      LineSpacing->{1.4, 0}],
     "\[ThickSpace]\[ThickSpace]\[ThickSpace]\[ThickSpace]\[ThickSpace]\
\[ThickSpace]",
     Cell[BoxData[
      ActionMenuBox[
       FrameBox[
        InterpretationBox[Cell[TextData[{
          "URL",
          StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
           StripOnInput->False]
         }]],
         TextCell[
          Row[{"URL", 
            Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
        StripOnInput->False], {"\<\"FeynCalc/ref/TR\"\>":>
       None, "\<\"Copy Wolfram Documentation Center URL\"\>":>
       Module[{DocumentationSearch`Private`nb$}, 
        DocumentationSearch`Private`nb$ = NotebookPut[
           Notebook[{
             Cell["FeynCalc/ref/TR"]}, Visible -> False]]; 
        SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
        FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
        NotebookClose[DocumentationSearch`Private`nb$]; Null], 
       Delimiter, "\<\"Copy web URL\"\>":>
       Module[{DocumentationSearch`Private`nb$}, 
        DocumentationSearch`Private`nb$ = NotebookPut[
           Notebook[{
             Cell[
              BoxData[
               MakeBoxes[
                Hyperlink[
                "http://reference.wolfram.com/language/FeynCalc/ref/TR.html"],
                 StandardForm]], "Input", TextClipboardType -> "PlainText"]}, 
            Visible -> False]]; 
        SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
        FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
        NotebookClose[DocumentationSearch`Private`nb$]; 
        Null], "\<\"Go to web URL\"\>":>FrontEndExecute[{
         NotebookLocate[{
           URL[
            StringJoin[
             If[
              TrueQ[DocumentationBuild`Make`Private`wsmlinkQ$279700], 
              "http://reference.wolfram.com/system-modeler/", 
              "http://reference.wolfram.com/language/"], "FeynCalc/ref/TR", 
             ".html"]], None}]}]},
       Appearance->None,
       MenuAppearance->Automatic,
       MenuStyle->"URLMenu"]],
      LineSpacing->{1.4, 0}]
    }], "AnchorBar"]}
  }]], "AnchorBarGrid",
 GridBoxOptions->{GridBoxItemSize->{"Columns" -> {
     Scaled[0.65], {
      Scaled[0.34]}}, "ColumnsIndexed" -> {}, "Rows" -> {{1.}}, 
   "RowsIndexed" -> {}}},
 CellID->1],

Cell[TextData[{
 Cell["TR", "ObjectName"],
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{8, 0}],
    CacheGraphics->False],
   Spacer[8]]]],
 Cell[BoxData[""], "ObjectNameTranslation"]
}], "ObjectNameGrid"],

Cell[CellGroupData[{

Cell[BoxData[GridBox[{
   {"", Cell[TextData[{
     Cell[BoxData[
      RowBox[{"TR", "[", "exp", "]"}]], "InlineFormula"],
     " \[LineSeparator]calculates the Dirac trace of exp. Depending on the \
setting of the option SUNTrace also a trace over SU(",
     StyleBox["N",
      FontSlant->"Italic"],
     ") objects is performed. The ",
     StyleBox["Mathematica",
      FontSlant->"Italic"],
     " build-in function Tr is overloaded to call TR if any of DiracGamma, \
GA, GAD, GS or GSD are in the expression.\nTr[list] finds the trace of the \
matrix or tensor list. Tr[list, f] finds a generalized trace, combining terms \
with f instead of Plus. Tr[list, f, n] goes down to level n in list.\nTr[ \
expression ] calculates the DiracTrace, i.e.,  TR[ expression ] if any of \
DiracGamma, GA, GAD, GS or GSD is present in expression."
    }]]}
  }]], "Usage",
 GridBoxOptions->{
 GridBoxBackground->{
  "Columns" -> {{None}}, "ColumnsIndexed" -> {}, "Rows" -> {{None}}, 
   "RowsIndexed" -> {}}},
 CellID->982511436],

Cell[CellGroupData[{

Cell[TextData[Cell[BoxData[
 ButtonBox[Cell[TextData[{
   Cell[BoxData[
    InterpretationBox[
     StyleBox[
      GraphicsBox[{},
       BaselinePosition->Baseline,
       ImageSize->{6, 0}],
      CacheGraphics->False],
     Spacer[6]]]],
   "Details"
  }], "NotesFrameText"],
  Appearance->{Automatic, None},
  BaseStyle->None,
  ButtonFunction:>(FrontEndExecute[{
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], All, ButtonCell], 
     FrontEndToken["OpenCloseGroup"], 
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], After, CellContents]}]& ),
  Evaluator->None,
  Method->"Preemptive"]]]], "NotesSection",
 WholeCellGroupOpener->True,
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->1987967490],

Cell["", "SectionHeaderSpacer"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Options", "[", "TR", "]"}]], "Input",
 CellLabel->"In[14]:="],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{
    RowBox[{"Contract", "\[Rule]", "True"}], ",", 
    RowBox[{"DiracTraceEvaluate", "\[Rule]", "True"}], ",", 
    RowBox[{"EpsContract", "\[Rule]", "True"}], ",", 
    RowBox[{"Explicit", "\[Rule]", "True"}], ",", 
    RowBox[{"Expand", "\[Rule]", "True"}], ",", 
    RowBox[{"Factoring", "\[Rule]", "Automatic"}], ",", 
    RowBox[{"FCVerbose", "\[Rule]", "True"}], ",", 
    RowBox[{"FeynCalcExternal", "\[Rule]", "False"}], ",", 
    RowBox[{"Mandelstam", "\[Rule]", 
     RowBox[{"{", "}"}]}], ",", 
    RowBox[{"PairCollect", "\[Rule]", "False"}], ",", 
    RowBox[{"SUNNToCACF", "\[Rule]", "False"}], ",", 
    RowBox[{"SUNTrace", "\[Rule]", "False"}], ",", 
    RowBox[{"Schouten", "\[Rule]", "0"}], ",", 
    RowBox[{"TraceOfOne", "\[Rule]", "4"}], ",", 
    RowBox[{"West", "\[Rule]", "True"}]}], "}"}], TraditionalForm]], "Output",\

 ImageSize->{548, 73},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[14]="]
}, Open  ]]
}, Closed]]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "PrimaryExamplesSection",
 WholeCellGroupOpener->True,
 CellTags->"PrimaryExamplesSection",
 CellID->2141365958],

Cell[CellGroupData[{

Cell[TextData[{
 "Basic Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "ExampleSection", "ExampleSection",
 WholeCellGroupOpener->True,
 CellID->1526633775],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"GA", "[", 
  RowBox[{"\[Mu]", ",", "\[Nu]"}], "]"}]], "Input",
 CellTags->{"TR", "Tr"},
 CellLabel->"In[1]:=",
 CellID->1115707365],

Cell[BoxData[
 FormBox[
  RowBox[{
   FormBox[
    SuperscriptBox[
     OverscriptBox["\[Gamma]", "_"], 
     FormBox[
      FormBox["\[Mu]",
       TraditionalForm],
      TraditionalForm]],
    TraditionalForm], ".", 
   FormBox[
    SuperscriptBox[
     OverscriptBox["\[Gamma]", "_"], 
     FormBox[
      FormBox["\[Nu]",
       TraditionalForm],
      TraditionalForm]],
    TraditionalForm]}], TraditionalForm]], "Output",
 ImageSize->{49, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->{"TR", "Tr"},
 CellLabel->"Out[1]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"TR", "[", "%", "]"}]], "Input",
 CellTags->{"TR", "Tr"},
 CellLabel->"In[2]:=",
 CellID->796428219],

Cell[BoxData[
 FormBox[
  RowBox[{"4", " ", 
   SuperscriptBox[
    OverscriptBox["g", "_"], 
    RowBox[{
     FormBox[
      FormBox["\[Mu]",
       TraditionalForm],
      TraditionalForm], 
     FormBox[
      FormBox["\[Nu]",
       TraditionalForm],
      TraditionalForm]}]]}], TraditionalForm]], "Output",
 ImageSize->{49, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->{"TR", "Tr"},
 CellLabel->"Out[2]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"TR", "[", 
  RowBox[{
   RowBox[{"(", 
    RowBox[{
     RowBox[{"GSD", "[", "p", "]"}], "+", "m"}], ")"}], ".", 
   RowBox[{"GAD", "[", "\[Mu]", "]"}], ".", 
   RowBox[{"(", 
    RowBox[{
     RowBox[{"GSD", "[", "q", "]"}], "-", "m"}], ")"}], ".", 
   RowBox[{"GAD", "[", "\[Nu]", "]"}]}], "]"}]], "Input",
 CellTags->{"TR", "Tr"},
 CellLabel->"In[3]:=",
 CellID->934056232],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{"-", "4"}], " ", 
   RowBox[{"(", 
    RowBox[{
     RowBox[{
      SuperscriptBox["m", "2"], " ", 
      SuperscriptBox["g", 
       RowBox[{
        FormBox[
         FormBox["\[Mu]",
          TraditionalForm],
         TraditionalForm], 
        FormBox[
         FormBox["\[Nu]",
          TraditionalForm],
         TraditionalForm]}]]}], "+", 
     RowBox[{
      SuperscriptBox["g", 
       RowBox[{
        FormBox[
         FormBox["\[Mu]",
          TraditionalForm],
         TraditionalForm], 
        FormBox[
         FormBox["\[Nu]",
          TraditionalForm],
         TraditionalForm]}]], " ", 
      RowBox[{"(", 
       RowBox[{
        FormBox[
         FormBox["p",
          TraditionalForm],
         TraditionalForm], 
        FormBox["\<\"\[CenterDot]\"\>",
         TraditionalForm], 
        FormBox[
         FormBox["q",
          TraditionalForm],
         TraditionalForm]}], ")"}]}], "-", 
     RowBox[{
      SuperscriptBox[
       FormBox[
        FormBox["p",
         TraditionalForm],
        TraditionalForm], 
       FormBox[
        FormBox["\[Nu]",
         TraditionalForm],
        TraditionalForm]], " ", 
      SuperscriptBox[
       FormBox[
        FormBox["q",
         TraditionalForm],
        TraditionalForm], 
       FormBox[
        FormBox["\[Mu]",
         TraditionalForm],
        TraditionalForm]]}], "-", 
     RowBox[{
      SuperscriptBox[
       FormBox[
        FormBox["p",
         TraditionalForm],
        TraditionalForm], 
       FormBox[
        FormBox["\[Mu]",
         TraditionalForm],
        TraditionalForm]], " ", 
      SuperscriptBox[
       FormBox[
        FormBox["q",
         TraditionalForm],
        TraditionalForm], 
       FormBox[
        FormBox["\[Nu]",
         TraditionalForm],
        TraditionalForm]]}]}], ")"}]}], TraditionalForm]], "Output",
 ImageSize->{315, 21},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->{"TR", "Tr"},
 CellLabel->"Out[3]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"TR", "[", 
  RowBox[{"GA", "[", 
   RowBox[{"\[Mu]", ",", "\[Nu]", ",", "\[Rho]", ",", "\[Sigma]", ",", "5"}], 
   "]"}], "]"}]], "Input",
 CellTags->{"TR", "Tr"},
 CellLabel->"In[4]:=",
 CellID->1809199539],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{"-", "4"}], " ", "\[ImaginaryI]", " ", 
   SuperscriptBox[
    OverscriptBox["\[Epsilon]", "_"], 
    RowBox[{
     FormBox[
      FormBox["\[Mu]",
       TraditionalForm],
      TraditionalForm], 
     FormBox[
      FormBox["\[Nu]",
       TraditionalForm],
      TraditionalForm], 
     FormBox[
      FormBox["\[Rho]",
       TraditionalForm],
      TraditionalForm], 
     FormBox[
      FormBox["\[Sigma]",
       TraditionalForm],
      TraditionalForm]}]]}], TraditionalForm]], "Output",
 ImageSize->{86, 14},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->{"TR", "Tr"},
 CellLabel->"Out[4]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"TR", "[", 
  RowBox[{"GS", "[", 
   RowBox[{"p", ",", "q", ",", "r", ",", "s"}], "]"}], "]"}]], "Input",
 CellTags->{"TR", "Tr"},
 CellLabel->"In[5]:=",
 CellID->458206387],

Cell[BoxData[
 FormBox[
  RowBox[{"4", " ", 
   RowBox[{"(", 
    RowBox[{
     RowBox[{
      RowBox[{"(", 
       RowBox[{
        FormBox[
         OverscriptBox[
          FormBox["p",
           TraditionalForm], "_"],
         TraditionalForm], 
        FormBox["\<\"\[CenterDot]\"\>",
         TraditionalForm], 
        FormBox[
         OverscriptBox[
          FormBox["s",
           TraditionalForm], "_"],
         TraditionalForm]}], ")"}], " ", 
      RowBox[{"(", 
       RowBox[{
        FormBox[
         OverscriptBox[
          FormBox["q",
           TraditionalForm], "_"],
         TraditionalForm], 
        FormBox["\<\"\[CenterDot]\"\>",
         TraditionalForm], 
        FormBox[
         OverscriptBox[
          FormBox["r",
           TraditionalForm], "_"],
         TraditionalForm]}], ")"}]}], "-", 
     RowBox[{
      RowBox[{"(", 
       RowBox[{
        FormBox[
         OverscriptBox[
          FormBox["p",
           TraditionalForm], "_"],
         TraditionalForm], 
        FormBox["\<\"\[CenterDot]\"\>",
         TraditionalForm], 
        FormBox[
         OverscriptBox[
          FormBox["r",
           TraditionalForm], "_"],
         TraditionalForm]}], ")"}], " ", 
      RowBox[{"(", 
       RowBox[{
        FormBox[
         OverscriptBox[
          FormBox["q",
           TraditionalForm], "_"],
         TraditionalForm], 
        FormBox["\<\"\[CenterDot]\"\>",
         TraditionalForm], 
        FormBox[
         OverscriptBox[
          FormBox["s",
           TraditionalForm], "_"],
         TraditionalForm]}], ")"}]}], "+", 
     RowBox[{
      RowBox[{"(", 
       RowBox[{
        FormBox[
         OverscriptBox[
          FormBox["p",
           TraditionalForm], "_"],
         TraditionalForm], 
        FormBox["\<\"\[CenterDot]\"\>",
         TraditionalForm], 
        FormBox[
         OverscriptBox[
          FormBox["q",
           TraditionalForm], "_"],
         TraditionalForm]}], ")"}], " ", 
      RowBox[{"(", 
       RowBox[{
        FormBox[
         OverscriptBox[
          FormBox["r",
           TraditionalForm], "_"],
         TraditionalForm], 
        FormBox["\<\"\[CenterDot]\"\>",
         TraditionalForm], 
        FormBox[
         OverscriptBox[
          FormBox["s",
           TraditionalForm], "_"],
         TraditionalForm]}], ")"}]}]}], ")"}]}], TraditionalForm]], "Output",
 ImageSize->{357, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->{"TR", "Tr"},
 CellLabel->"Out[5]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"TR", "[", 
  RowBox[{
   RowBox[{
    RowBox[{"(", 
     RowBox[{
      RowBox[{"GS", "[", "p", "]"}], "+", "m"}], ")"}], ".", 
    RowBox[{"GA", "[", "\[Mu]", "]"}], ".", 
    RowBox[{"(", 
     RowBox[{
      RowBox[{"GS", "[", "q", "]"}], "+", "m"}], ")"}], ".", 
    RowBox[{"GA", "[", "\[Mu]", "]"}]}], ",", 
   RowBox[{"Factoring", "\[Rule]", "True"}]}], "]"}]], "Input",
 CellTags->{"TR", "Tr"},
 CellLabel->"In[6]:=",
 CellID->1692893205],

Cell[BoxData[
 FormBox[
  RowBox[{"8", " ", 
   RowBox[{"(", 
    RowBox[{
     RowBox[{"2", " ", 
      SuperscriptBox["m", "2"]}], "-", 
     RowBox[{
      FormBox[
       OverscriptBox[
        FormBox["p",
         TraditionalForm], "_"],
       TraditionalForm], 
      FormBox["\<\"\[CenterDot]\"\>",
       TraditionalForm], 
      FormBox[
       OverscriptBox[
        FormBox["q",
         TraditionalForm], "_"],
       TraditionalForm]}]}], ")"}]}], TraditionalForm]], "Output",
 ImageSize->{117, 21},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->{"TR", "Tr"},
 CellLabel->"Out[6]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"TR", "[", 
  RowBox[{
   RowBox[{"GA", "[", 
    RowBox[{"\[Alpha]", ",", "\[Beta]"}], "]"}], ",", 
   RowBox[{"FCE", "\[Rule]", "True"}]}], "]"}]], "Input",
 CellTags->{"TR", "Tr"},
 CellLabel->"In[7]:=",
 CellID->18313474],

Cell[BoxData[
 FormBox[
  RowBox[{"4", " ", 
   FormBox[
    SuperscriptBox[
     OverscriptBox["g", "_"], 
     RowBox[{
      FormBox[
       FormBox["\[Alpha]",
        TraditionalForm],
       TraditionalForm], 
      FormBox[
       FormBox["\[Beta]",
        TraditionalForm],
       TraditionalForm]}]],
    TraditionalForm]}], TraditionalForm]], "Output",
 ImageSize->{51, 18},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->{"TR", "Tr"},
 CellLabel->"Out[7]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  RowBox[{"GA", "[", 
   RowBox[{"\[Mu]", ",", "\[Nu]"}], "]"}], " ", 
  RowBox[{
   RowBox[{"SUNT", "[", "b", "]"}], ".", 
   RowBox[{"SUNT", "[", "c", "]"}]}], " ", 
  RowBox[{"SUNDelta", "[", 
   RowBox[{"c", ",", "b"}], "]"}]}]], "Input",
 CellTags->{"TR", "Tr"},
 CellLabel->"In[8]:=",
 CellID->496024133],

Cell[BoxData[
 FormBox[
  RowBox[{
   SuperscriptBox["\[Delta]", 
    RowBox[{
     FormBox["b",
      TraditionalForm], 
     FormBox["c",
      TraditionalForm]}]], " ", 
   RowBox[{
    SuperscriptBox["T", 
     FormBox["b",
      TraditionalForm]], ".", 
    SuperscriptBox["T", 
     FormBox["c",
      TraditionalForm]]}], " ", 
   RowBox[{
    FormBox[
     SuperscriptBox[
      OverscriptBox["\[Gamma]", "_"], 
      FormBox[
       FormBox["\[Mu]",
        TraditionalForm],
       TraditionalForm]],
     TraditionalForm], ".", 
    FormBox[
     SuperscriptBox[
      OverscriptBox["\[Gamma]", "_"], 
      FormBox[
       FormBox["\[Nu]",
        TraditionalForm],
       TraditionalForm]],
     TraditionalForm]}]}], TraditionalForm]], "Output",
 ImageSize->{138, 19},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->{"TR", "Tr"},
 CellLabel->"Out[8]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"TR", "[", 
  RowBox[{"%", ",", 
   RowBox[{"SUNTrace", "\[Rule]", "False"}], ",", 
   RowBox[{"SUNNToCACF", "\[Rule]", "True"}]}], "]"}]], "Input",
 CellTags->{"TR", "Tr"},
 CellLabel->"In[9]:=",
 CellID->1457315131],

Cell[BoxData[
 FormBox[
  RowBox[{"4", " ", 
   SubscriptBox["C", "F"], " ", 
   SuperscriptBox[
    OverscriptBox["g", "_"], 
    RowBox[{
     FormBox[
      FormBox["\[Mu]",
       TraditionalForm],
      TraditionalForm], 
     FormBox[
      FormBox["\[Nu]",
       TraditionalForm],
      TraditionalForm]}]]}], TraditionalForm]], "Output",
 ImageSize->{74, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->{"TR", "Tr"},
 CellLabel->"Out[9]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"TR", "[", 
  RowBox[{"%%", ",", 
   RowBox[{"SUNTrace", "\[Rule]", "True"}], ",", 
   RowBox[{"SUNNToCACF", "\[Rule]", "True"}]}], "]"}]], "Input",
 CellTags->{"TR", "Tr"},
 CellLabel->"In[10]:=",
 CellID->73677015],

Cell[BoxData[
 FormBox[
  RowBox[{"4", " ", 
   SubscriptBox["C", "F"], " ", 
   SuperscriptBox[
    OverscriptBox["g", "_"], 
    RowBox[{
     FormBox[
      FormBox["\[Mu]",
       TraditionalForm],
      TraditionalForm], 
     FormBox[
      FormBox["\[Nu]",
       TraditionalForm],
      TraditionalForm]}]]}], TraditionalForm]], "Output",
 ImageSize->{74, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->{"TR", "Tr"},
 CellLabel->"Out[10]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"TR", "[", 
  RowBox[{"1", ",", 
   RowBox[{"SUNTrace", "\[Rule]", "False"}], ",", 
   RowBox[{"SUNNToCACF", "\[Rule]", "True"}]}], "]"}]], "Input",
 CellTags->{"TR", "Tr"},
 CellLabel->"In[11]:=",
 CellID->1407727695],

Cell[BoxData[
 FormBox["4", TraditionalForm]], "Output",
 ImageSize->{13, 14},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->{"TR", "Tr"},
 CellLabel->"Out[11]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"TR", "[", 
  RowBox[{"1", ",", 
   RowBox[{"SUNTrace", "\[Rule]", "True"}], ",", 
   RowBox[{"SUNNToCACF", "\[Rule]", "True"}]}], "]"}]], "Input",
 CellTags->{"TR", "Tr"},
 CellLabel->"In[12]:=",
 CellID->806303782],

Cell[BoxData[
 FormBox["4", TraditionalForm]], "Output",
 ImageSize->{13, 14},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->{"TR", "Tr"},
 CellLabel->"Out[12]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Tr", "[", " ", 
  RowBox[{"GA", "[", 
   RowBox[{"m", ",", "n"}], "]"}], "]"}]], "Input",
 CellTags->"Tr",
 CellLabel->"In[13]:=",
 CellID->864240014],

Cell[BoxData[
 FormBox[
  RowBox[{"4", " ", 
   SuperscriptBox[
    OverscriptBox["g", "_"], 
    RowBox[{
     FormBox[
      FormBox["m",
       TraditionalForm],
      TraditionalForm], 
     FormBox[
      FormBox["n",
       TraditionalForm],
      TraditionalForm]}]]}], TraditionalForm]], "Output",
 ImageSize->{55, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Tr",
 CellLabel->"Out[13]="]
}, Open  ]]
}, Open  ]],

Cell["", "SectionFooterSpacer"]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "See Also"
}], "SeeAlsoSection",
 WholeCellGroupOpener->True,
 CellID->1255426704],

Cell[TextData[{
 StyleBox[ButtonBox["DiracSimplify",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/DiracSimplify",
  ButtonNote->"DiracSimplify"],
  FontFamily->"Verdana"],
 ", ",
 StyleBox[ButtonBox["DiracTrace",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/DiracTrace",
  ButtonNote->"DiracTrace"],
  FontFamily->"Verdana"],
 ", ",
 StyleBox[ButtonBox["FermionSpinSum",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/FermionSpinSum",
  ButtonNote->"FermionSpinSum"],
  FontFamily->"Verdana"],
 ", ",
 StyleBox[ButtonBox["SUNTrace",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/SUNTrace",
  ButtonNote->"SUNTrace"],
  FontFamily->"Verdana"],
 "."
}], "SeeAlso"]
}, Open  ]],

Cell[" ", "FooterCell"]
},
Saveable->False,
ScreenStyleEnvironment->"Working",
WindowSize->{725, 750},
WindowMargins->{{-10, Automatic}, {Automatic, -8}},
WindowTitle->"TR",
TaggingRules->{
 "ModificationHighlight" -> False, "ColorType" -> "SymbolColor", "LinkTrails" -> 
  GridBox[{{
      RowBox[{
        ButtonBox[
        "FeynCalc", ButtonData -> "paclet:FeynCalc/guide/FeynCalc", 
         BaseStyle -> {"Link", "DockedLinkTrail"}]}]}}, ColumnAlignments -> 
    Left], "HasOptions" -> False, "ExampleCounter" -> 1, "NeedPlatMsgIn" -> 
  None, "RootCaptions" -> "", 
  "Metadata" -> {
   "built" -> "{2020, 6, 20, 19, 12, 14.899237}", 
    "history" -> {"9.0", "", "", ""}, "context" -> "FeynCalc`", 
    "keywords" -> {}, "specialkeywords" -> {}, 
    "tutorialcollectionlinks" -> {}, "index" -> True, "label" -> 
    "Feyn Calc Symbol", "language" -> "en", "paclet" -> "FeynCalc", "status" -> 
    "None", "summary" -> 
    "TR[exp] calculates the Dirac trace of exp. Depending on the setting of \
the option SUNTrace also a trace over SU(N) objects is performed. The \
Mathematica build-in function Tr is overloaded to call TR if any of \
DiracGamma, GA, GAD, GS or GSD are in the expression. Tr[list] finds the \
trace of the matrix or tensor list. Tr[list, f] finds a generalized trace, \
combining terms with f instead of Plus. Tr[list, f, n] goes down to level n \
in list. Tr[expression ] calculates the DiracTrace, i.e., TR[expression ] if \
any of DiracGamma, GA, GAD, GS or GSD is present in expression.", 
    "synonyms" -> {}, "tabletags" -> {}, "title" -> "TR", "titlemodifier" -> 
    "", "windowtitle" -> "TR", "type" -> "Symbol", "uri" -> 
    "FeynCalc/ref/TR"}, "SearchTextTranslated" -> ""},
CellContext->"Global`",
FrontEndVersion->"10.4 for Linux x86 (64-bit) (April 11, 2016)",
StyleDefinitions->Notebook[{
   Cell[
    StyleData[
    StyleDefinitions -> FrontEnd`FileName[{"Wolfram"}, "Reference.nb"]]], 
   Cell[
    StyleData["Input"], CellContext -> "Global`"], 
   Cell[
    StyleData["Output"], CellContext -> "Global`"]}, Visible -> False, 
  FrontEndVersion -> "10.4 for Linux x86 (64-bit) (April 11, 2016)", 
  StyleDefinitions -> "Default.nb"]
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{
 "PrimaryExamplesSection"->{
  Cell[7184, 210, 388, 15, 31, "PrimaryExamplesSection",
   CellTags->"PrimaryExamplesSection",
   CellID->2141365958]},
 "TR"->{
  Cell[7818, 239, 155, 5, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->1115707365],
  Cell[7976, 246, 564, 23, 37, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[8577, 274, 123, 4, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->796428219],
  Cell[8703, 280, 448, 18, 37, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[9188, 303, 400, 13, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->934056232],
  Cell[9591, 318, 2027, 83, 42, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[11655, 406, 231, 7, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->1809199539],
  Cell[11889, 415, 676, 27, 35, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[12602, 447, 196, 6, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->458206387],
  Cell[12801, 455, 2524, 96, 37, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[15362, 556, 470, 15, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->1692893205],
  Cell[15835, 573, 627, 24, 42, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[16499, 602, 248, 8, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->18313474],
  Cell[16750, 612, 498, 20, 39, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[17285, 637, 334, 11, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->496024133],
  Cell[17622, 650, 895, 37, 40, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[18554, 692, 240, 7, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->1457315131],
  Cell[18797, 701, 481, 19, 37, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[19315, 725, 239, 7, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->73677015],
  Cell[19557, 734, 482, 19, 37, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[20076, 758, 241, 7, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->1407727695],
  Cell[20320, 767, 192, 6, 35, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[20549, 778, 239, 7, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->806303782],
  Cell[20791, 787, 192, 6, 35, "Output",
   CellTags->{"TR", "Tr"}]},
 "Tr"->{
  Cell[7818, 239, 155, 5, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->1115707365],
  Cell[7976, 246, 564, 23, 37, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[8577, 274, 123, 4, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->796428219],
  Cell[8703, 280, 448, 18, 37, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[9188, 303, 400, 13, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->934056232],
  Cell[9591, 318, 2027, 83, 42, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[11655, 406, 231, 7, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->1809199539],
  Cell[11889, 415, 676, 27, 35, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[12602, 447, 196, 6, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->458206387],
  Cell[12801, 455, 2524, 96, 37, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[15362, 556, 470, 15, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->1692893205],
  Cell[15835, 573, 627, 24, 42, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[16499, 602, 248, 8, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->18313474],
  Cell[16750, 612, 498, 20, 39, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[17285, 637, 334, 11, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->496024133],
  Cell[17622, 650, 895, 37, 40, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[18554, 692, 240, 7, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->1457315131],
  Cell[18797, 701, 481, 19, 37, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[19315, 725, 239, 7, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->73677015],
  Cell[19557, 734, 482, 19, 37, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[20076, 758, 241, 7, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->1407727695],
  Cell[20320, 767, 192, 6, 35, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[20549, 778, 239, 7, 27, "Input",
   CellTags->{"TR", "Tr"},
   CellID->806303782],
  Cell[20791, 787, 192, 6, 35, "Output",
   CellTags->{"TR", "Tr"}],
  Cell[21020, 798, 174, 6, 27, "Input",
   CellTags->"Tr",
   CellID->864240014],
  Cell[21197, 806, 433, 18, 37, "Output",
   CellTags->"Tr"]}
 }
*)
(*CellTagsIndex
CellTagsIndex->{
 {"PrimaryExamplesSection", 25027, 927},
 {"TR", 25157, 931},
 {"Tr", 27087, 992}
 }
*)
(*NotebookFileOutline
Notebook[{
Cell[574, 21, 3300, 80, 53, "AnchorBarGrid",
 CellID->1],
Cell[3877, 103, 279, 11, 45, "ObjectNameGrid"],
Cell[CellGroupData[{
Cell[4181, 118, 1022, 23, 206, "Usage",
 CellID->982511436],
Cell[CellGroupData[{
Cell[5228, 145, 739, 24, 31, "NotesSection",
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->1987967490],
Cell[5970, 171, 31, 0, 14, "SectionHeaderSpacer"],
Cell[CellGroupData[{
Cell[6026, 175, 85, 2, 27, "Input"],
Cell[6114, 179, 1009, 24, 94, "Output"]
}, Open  ]]
}, Closed]]
}, Open  ]],
Cell[CellGroupData[{
Cell[7184, 210, 388, 15, 31, "PrimaryExamplesSection",
 CellTags->"PrimaryExamplesSection",
 CellID->2141365958],
Cell[CellGroupData[{
Cell[7597, 229, 196, 6, 26, "ExampleSection",
 CellID->1526633775],
Cell[CellGroupData[{
Cell[7818, 239, 155, 5, 27, "Input",
 CellTags->{"TR", "Tr"},
 CellID->1115707365],
Cell[7976, 246, 564, 23, 37, "Output",
 CellTags->{"TR", "Tr"}]
}, Open  ]],
Cell[CellGroupData[{
Cell[8577, 274, 123, 4, 27, "Input",
 CellTags->{"TR", "Tr"},
 CellID->796428219],
Cell[8703, 280, 448, 18, 37, "Output",
 CellTags->{"TR", "Tr"}]
}, Open  ]],
Cell[CellGroupData[{
Cell[9188, 303, 400, 13, 27, "Input",
 CellTags->{"TR", "Tr"},
 CellID->934056232],
Cell[9591, 318, 2027, 83, 42, "Output",
 CellTags->{"TR", "Tr"}]
}, Open  ]],
Cell[CellGroupData[{
Cell[11655, 406, 231, 7, 27, "Input",
 CellTags->{"TR", "Tr"},
 CellID->1809199539],
Cell[11889, 415, 676, 27, 35, "Output",
 CellTags->{"TR", "Tr"}]
}, Open  ]],
Cell[CellGroupData[{
Cell[12602, 447, 196, 6, 27, "Input",
 CellTags->{"TR", "Tr"},
 CellID->458206387],
Cell[12801, 455, 2524, 96, 37, "Output",
 CellTags->{"TR", "Tr"}]
}, Open  ]],
Cell[CellGroupData[{
Cell[15362, 556, 470, 15, 27, "Input",
 CellTags->{"TR", "Tr"},
 CellID->1692893205],
Cell[15835, 573, 627, 24, 42, "Output",
 CellTags->{"TR", "Tr"}]
}, Open  ]],
Cell[CellGroupData[{
Cell[16499, 602, 248, 8, 27, "Input",
 CellTags->{"TR", "Tr"},
 CellID->18313474],
Cell[16750, 612, 498, 20, 39, "Output",
 CellTags->{"TR", "Tr"}]
}, Open  ]],
Cell[CellGroupData[{
Cell[17285, 637, 334, 11, 27, "Input",
 CellTags->{"TR", "Tr"},
 CellID->496024133],
Cell[17622, 650, 895, 37, 40, "Output",
 CellTags->{"TR", "Tr"}]
}, Open  ]],
Cell[CellGroupData[{
Cell[18554, 692, 240, 7, 27, "Input",
 CellTags->{"TR", "Tr"},
 CellID->1457315131],
Cell[18797, 701, 481, 19, 37, "Output",
 CellTags->{"TR", "Tr"}]
}, Open  ]],
Cell[CellGroupData[{
Cell[19315, 725, 239, 7, 27, "Input",
 CellTags->{"TR", "Tr"},
 CellID->73677015],
Cell[19557, 734, 482, 19, 37, "Output",
 CellTags->{"TR", "Tr"}]
}, Open  ]],
Cell[CellGroupData[{
Cell[20076, 758, 241, 7, 27, "Input",
 CellTags->{"TR", "Tr"},
 CellID->1407727695],
Cell[20320, 767, 192, 6, 35, "Output",
 CellTags->{"TR", "Tr"}]
}, Open  ]],
Cell[CellGroupData[{
Cell[20549, 778, 239, 7, 27, "Input",
 CellTags->{"TR", "Tr"},
 CellID->806303782],
Cell[20791, 787, 192, 6, 35, "Output",
 CellTags->{"TR", "Tr"}]
}, Open  ]],
Cell[CellGroupData[{
Cell[21020, 798, 174, 6, 27, "Input",
 CellTags->"Tr",
 CellID->864240014],
Cell[21197, 806, 433, 18, 37, "Output",
 CellTags->"Tr"]
}, Open  ]]
}, Open  ]],
Cell[21657, 828, 31, 0, 29, "SectionFooterSpacer"]
}, Open  ]],
Cell[CellGroupData[{
Cell[21725, 833, 270, 12, 31, "SeeAlsoSection",
 CellID->1255426704],
Cell[21998, 847, 703, 25, 56, "SeeAlso"]
}, Open  ]],
Cell[22716, 875, 23, 0, 41, "FooterCell"]
}
]
*)

(* End of internal cache information *)

